package org.stream.answerduel.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.extern.slf4j.Slf4j;

/**
 * @author  郭榕
 * @date    2019/7/10  17:15
 *功能描述:封装排行榜的固有数据,排位,ID,昵称,积分
 *
 */
@ApiModel("封装的排行榜列表:RankVo")
@Slf4j
@Data
@Accessors(chain = true)
public class RankVo {

    //排名
    @ApiModelProperty
    private int No;
    //微信id

    @ApiModelProperty
    private String wechatID;

    //微信头像URL
    @ApiModelProperty
    private String avatarUrl;

    //昵称
    @ApiModelProperty
    private String nickName;
    //积分
    @ApiModelProperty
    private int score;

    public RankVo(){

    }
    public RankVo(String wechatID , String nickName , int score)
    {
      this.wechatID = wechatID;
      this.nickName = nickName;
      this.score    = score;
    }

}
